<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>登录</title>
    <link rel="icon" href="./img/favicon.svg" type="image/x-icon" />
    <!-- 在网页标题左侧显示图标 -->
    <link rel="shortcut icon" href="" type="image/x-icon" />
    <!-- 在收藏夹显示图标 -->
    <link rel="stylesheet" href="./css/login.css" />
    <script src="./js/jquery-3.6.0.js"></script>
    <script src="./js/login.js"></script>

    <link
      href="https://cdn.staticfile.org/twitter-bootstrap/5.1.3/css/bootstrap.min.css"
      rel="stylesheet"
    />
  </head>
  <body>
    <div class="line-2">
      <div class="center">
        <form action="login.php" method="post" class="login" id="login1">
          <div class="logson1">登录</div>
          <div class="logson">
            <div class="boder" id="boder1">
              <input
              class="input_class"
                type="text"
                name="user_name"
                onkeyup="this.value=this.value.replace(/[,]/g,'')"
                id="input1"
                placeholder="账号"
                value=""
              />
              <img class="icon1" src="./img/user.png" />
            </div>
          </div>
          <div class="logson">
            <div class="boder" id="boder2">
              <input
              class="input_class"
                type="password"
                name="user_pwd"
                onkeyup="this.value=this.value.replace(/[,]/g,'')"
                id="input2"
                placeholder="密码"
                value=""
              />
              <img class="icon2" src="./img/password.png" alt="" />
            </div>
          </div>

          <h6 style="display: none" class="error" id="error1">请输入账号</h6>
          <h6 style="display: none" class="error" id="error2">请输入密码</h6>
          <h6 style="display: none" class="error" id="error3">
            账号格式不正确
          </h6>
          <h6 style="display: none" class="error" id="error4">密码有误</h6>
          <h6 style="display: none" class="error" id="error5">
            账号或密码错误
          </h6>

          <div class="logson">
            <a class="left" href="zhuce_index.php">注册</a>
            <a class="right" href="./admin/admin_login.php">忘记密码？</a>
          </div>
          <div class="logson">
            <button class="denlu">登录</button>
          </div>
        </form>
      </div>
    </div>
  </body>
</html>
